﻿<%@ Page Language="C#" AutoEventWireup="true" EnableEventValidation="false" CodeBehind="wfBefektetesek.aspx.cs" Inherits="ownx.wfBefektetesek" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
    <head runat="server">
        <title>Befektetések</title>
        <link href="ownx.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="js_scripts.js"></script>
       
    </head>
    <body style="background-image:url(./images/bg.png); color:White; font-weight:bold;">
        <form id="form1" runat="server">
       
            <asp:Button ID="FalseButton" runat="server" style="height: 0px; width: 0px; background-color:#111111; border-width:0px;" Enabled="false"/>  
            <div style="width:100%; height:0px; position:absolute; left:0px; top:50%;" id="v_center">
                <div style="width:100%; height:600px; position:absolute; top:-300px; text-align:center; background-image:url(./images/alpha_bg.png); background-repeat:no-repeat; background-position:right;" id="dark">
                    <div style="width:950px; height:600px; position:relative; margin:0px auto 0px auto;">
                        <div style="width:950px; height:30px; margin:22px 0px; padding:3px 0px; position:relative; border-bottom-style:solid; border-color:#555555; border-bottom-width:2px; text-align:left;" id="header">
                            <table>
                                <tr>
                                    <td>
                                        <asp:Button ID="bAlapadatok" runat="server" Text="Alapadatok" 
                                            style="" CssClass="tab"
                                            onclick="bAlapadatok_Click"/>                                
                                    </td>
                                    <td>
                                        <asp:Button ID="bHitelek" runat="server" Text="Hitel" 
                                            style="" CssClass="tab"
                                            onclick="bHitelek_Click"/>                                
                                    </td>
                                    <td>
                                        <asp:Button ID="bBefektetesek" runat="server" Text="Befektetés" 
                                            style="" CssClass="tab_active"/>                                
                                    </td>
                                    <td>
                                        <asp:Button ID="bNyugdijak" runat="server" Text="Nyugdíj" 
                                            style="" CssClass="tab"
                                            onclick="bNyugdijak_Click"/>
                                    </td>
                                    <td>
                                        <asp:Button ID="bEletBizt" runat="server" Text="Élet bizt."     
                                            style="" CssClass="tab"
                                            onclick="bEletBizt_Click"/>                                
                                    </td>
                                    <td>
                                        <asp:Button ID="bVagyonBizt" runat="server" Text="Vagyon bizt." 
                                            style="" CssClass="tab"
                                            onclick="bVagyonBizt_Click"/>                                
                                    </td>
                                    <td>
                                        <asp:Button ID="bMegj" runat="server" Text="Megj." 
                                            style="" CssClass="tab"
                                            onclick="bMegj_Click"/>                                
                                    </td>                                                                                                                                                                                                
                                </tr>
                            </table>
                        </div>
                        <div style="width:950px; height:520px; position:relative;" id="main_container">
                            <div style="width:780px; height: 520px; float:left; text-align:left;" id="main1">
                                <div style="text-align:center;">
                                    <div style=" height: 300px; width:767px; overflow:auto; margin: 0px auto;">
                                        <asp:GridView ID="gvBEFEKTETESEK" runat="server"
                                            style="width:750px; border-color:#dac6a6; text-align:center; overflow:auto;" 
                                            AutoGenerateColumns="False" CellPadding="4"
                                BorderStyle="None" CaptionAlign="Top" MouseOverColor="Black" GridLines="None"
                                PageSize="11"
                                            onselectedindexchanged="gvBEFEKTETESEK_SelectedIndexChanged" 
                                            onrowdatabound="gvBEFEKTETESEK_RowDataBound" DataKeyNames="BFT_ID">
                                            <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                            <RowStyle VerticalAlign="Top" BorderWidth="0px" Wrap="True" />
                                            <Columns>
                                                <asp:CommandField ShowSelectButton="True" Visible="False" />
                                                <asp:BoundField DataField="BFT_ID" HeaderText="Azonosító" Visible="False" />
                                                <asp:BoundField DataField="TIPUS" HeaderText="Típus" />
                                                <asp:BoundField DataField="NEV" HeaderText="Megnevezés" />
                                                <asp:BoundField DataField="OSSZEG" HeaderText="Összeg" 
                                                    DataFormatString="{0:n}" >
                                                    <ItemStyle HorizontalAlign="Right" />
                                                </asp:BoundField>
                                            </Columns>
                                            <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                                            <SelectedRowStyle BackColor="#333333" />
                                            <HeaderStyle BackColor="Black" Font-Bold="True"  
                                                Height="30px" CssClass="header"  />
                                            <EditRowStyle BackColor="#999999" />
                                        </asp:GridView>
                                    </div>
                                </div>
                                <asp:Label ID="lMessage" runat="server"
                                    style="" Font-Names="Arial" 
                                    ForeColor="#990000"></asp:Label>
                                <br />
                                <table cellspacing="5">
                                    <tr>
                                        <td>
                                            <asp:Label ID="lName" runat="server" Text="ID:"
                                                style="" Visible="False"></asp:Label>
                                        </td>
                                        <td>
                                            <asp:TextBox ID="tbBFT_ID" runat="server" 
                                                style="" CssClass="editbox" Visible="False"></asp:TextBox>                                        
                                        </td>
                                        <td style="width:30px;"></td>
                                        <td>
                                            <asp:Label ID="lName0" runat="server" Text="Partner:"
                                                style="" Visible="False"></asp:Label>                                        
                                        </td>
                                        <td>
                                            <asp:TextBox ID="tbBFT_PRT_ID" runat="server" 
                                                style="" CssClass="editbox" Visible="False"></asp:TextBox>                                        
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <asp:Label ID="lName1" runat="server" Text="Típus:"
                                                style=""></asp:Label>
                                        </td>
                                        <td>
                                            <asp:DropDownList ID="ddlBFT_TIPUS" runat="server"
                                                style="" CssClass="other_input" 
                                                AutoPostBack="True" onselectedindexchanged="ddlBFT_TIPUS_SelectedIndexChanged">
                                                <asp:ListItem Value="BANK">Banki</asp:ListItem>
                                                <asp:ListItem Value="TOZSD">Tőzsdei</asp:ListItem>
                                                <asp:ListItem Value="BEFAL">Befektetési alap</asp:ListItem>
                                                <asp:ListItem Value="BANKB">Bankbetét</asp:ListItem>
                                                <asp:ListItem Value="EGYEB">Egyéb befektetés</asp:ListItem>
                                            </asp:DropDownList>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <asp:Label ID="Label1" runat="server" Text="Bank:"
                                                style=""></asp:Label>
                                        </td>
                                        <td>
                                            <asp:DropDownList ID="Edit1" runat="server"
                                                style="" CssClass="other_input">
                                            </asp:DropDownList>
                                        </td>
                                        <td></td>
                                        <td>
                                            <asp:Label ID="Label7" runat="server" Text="Számla név:"
                                                style=""></asp:Label>
                                        </td>
                                        <td>
                                            <asp:TextBox ID="Edit7" runat="server" 
                                                style="" CssClass="editbox"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <asp:Label ID="Label2" runat="server" Text="Bankkártya"
                                                style=""></asp:Label>
                                        </td>
                                        <td>
                                            <asp:DropDownList ID="Edit2" runat="server"
                                                style="" CssClass="other_input">
                                                <asp:ListItem Value="I">Igen</asp:ListItem>
                                                <asp:ListItem Value="N">Nem</asp:ListItem>
                                            </asp:DropDownList>
                                        </td>
                                        <td></td>
                                        <td>
                                            <asp:Label ID="Label3" runat="server" Text="Fajtája:"
                                                style=""></asp:Label>
                                        </td>
                                        <td>
                                            <asp:DropDownList ID="Edit3" runat="server"
                                                style="" CssClass="other_input">
                                                <asp:ListItem Value="BANK">Banki</asp:ListItem>
                                                <asp:ListItem Value="TOZSD">Tőzsdei</asp:ListItem>
                                                <asp:ListItem Value="BEFAL">Befektetési alap</asp:ListItem>
                                                <asp:ListItem Value="BANKB">Bankbetét</asp:ListItem>
                                                <asp:ListItem Value="EGYEB">Egyéb befektetés</asp:ListItem>
                                            </asp:DropDownList>
                                        </td>
                                        <td>
                                            <asp:Label ID="Label4" runat="server" Text="Típusa:"
                                                style=""></asp:Label>
                                        </td>
                                        <td>
                                            <asp:DropDownList ID="Edit4" runat="server"
                                                style="" CssClass="other_input">
                                                <asp:ListItem Value="BANK">Banki</asp:ListItem>
                                                <asp:ListItem Value="TOZSD">Tőzsdei</asp:ListItem>
                                                <asp:ListItem Value="BEFAL">Befektetési alap</asp:ListItem>
                                                <asp:ListItem Value="BANKB">Bankbetét</asp:ListItem>
                                                <asp:ListItem Value="EGYEB">Egyéb befektetés</asp:ListItem>
                                            </asp:DropDownList>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <asp:Label ID="Label5" runat="server" Text="Összeg:"
                                                style=""></asp:Label>
                                        </td>
                                        <td>
                                            <asp:TextBox ID="Edit5" runat="server" 
                                                style="" CssClass="editbox"></asp:TextBox>
                                        </td>
                                        <td></td>
                                        <td>
                                            <asp:Label ID="Label6" runat="server" Text="Kamat:"
                                                style=""></asp:Label>
                                        </td>
                                        <td>
                                            <asp:TextBox ID="Edit6" runat="server" 
                                                style="" CssClass="editbox"></asp:TextBox>
                                        </td>
                                    </tr>
                                </table>                                
                            </div>                            
                            <div style="width:170px; height: 520px; float:right; vertical-align:bottom; line-height:5px;" id="buttons">
                                <asp:Button ID="bUj" runat="server" Text="Új" 
                                    style="" CssClass="button"
                                    onclick="bUj_Click"/>  
                                <br /><br />
                                <asp:Button ID="bSave" runat="server" Text="Mentés" 
                                    style="" CssClass="button" 
                                    onclick="bSave_Click"/> 
                                <br /><br />
                                <asp:Button ID="bVissza" runat="server" Text="Vissza" 
                                    style="" CssClass="button"
                                    onclick="bVissza_Click"/>      
                                <br /><br />
                                <asp:Button ID="bVisszaFooldalra" runat="server" Text="Vissza a főoldalra" 
                                    Style="" CssClass="button" onclick="bVisszaFooldalra_Click" />                                                               
                            </div>                          
                        </div>
                    </div>
                </div>
            </div>
        </form>
    </body>
</html>